<?php
include("inc/global.inc");
$l_rs=mysql_query("select * from zd_class where id=".$_GET['id']);
$l_row=mysql_fetch_array($l_rs);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?=$l_row[z_name]?>-<?=$l_row[z_name]?>资料-<?=$l_row[z_name]?>资料下载-三帝资料汇集海量资讯、商务资料、商务资料信息。</title>
<meta name="description" content="<?=$l_row[z_name]?>，<?=$l_row[z_name]?>资料，<?=$l_row[z_name]?>，三帝资料国内领先的网上商务资料库中心提供最新的商务资料、企业资料库、经典资讯。——为您打造专业的在线学智社区。" />
<meta name="keywords" content="<?=$l_row[z_name]?>，<?=$l_row[z_name]?>资料，<?=$l_row[z_name]?>资料下载，三帝资料，三帝资料库，商务资料，商务百科，企业资料" />
<link href="/css/body.css" rel="stylesheet" type="text/css" />
<link href="/css/head.css" rel="stylesheet" type="text/css" />
<link href="/css/main.css" rel="stylesheet" type="text/css" />
<link href="/css/foot.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="/js/dh.js" charset="gb2312"></script>
</head>
<body>
<?php
include("inc/head_top.php");
?>
<div id="mian" class="topside6">
<div class="title1">您当位置：<a href="/">三帝资料</a> >> <?=$l_row[z_name]?></div>
<div class="onl"></div>
</div>
<div id="mian" style="clear: both;margin-top: 20px;margin-bottom: 20px;" class="side" align="center">
<script type="text/javascript">/*960*90，创建于2011-3-9*/ var cpro_id = 'u403357';</script><script src="http://cpro.baidu.com/cpro/ui/c.js" type="text/javascript"></script>
</div>
<div id="mian">
<div class="leftmain">
  <div class="left sideyellow">
<div class="title3 backyellow size14 b">热门资料下载</div>
      <div class="div_5">
        <ul>
		  <?php
		    $r_rs=mysql_query("select id,z_title from ziliao where z_sh=1 and z_bigid='".$_GET['id']."' order by id desc limit 25");
			while($r_row=mysql_fetch_array($r_rs)){
		  ?>
          <li><a href="/ziliao-info/<?=$r_row[id]?>.html" class="link_1" target="_blank"><?=mb_substr($r_row[z_title],0,17,'utf-8')?></a></li>
          <?php }?>
        </ul>
      </div>
<div class="left topside20 downside20">
<script type="text/javascript">/*250*250，创建于2011-3-25*/ var cpro_id = 'u422549';</script><script src="http://cpro.baidu.com/cpro/ui/c.js" type="text/javascript"></script>
</div>
</div>
</div>

<div class="rightmain">
  <div class="News">
<?php
      $rs=mysql_query("select * from zd_class where z_id='".$_GET['id']."' order by id asc");
      $i=1;
      while($row=mysql_fetch_array($rs)){
?> 

<div class="NewsBox sideyellow <?php if($i%2==0){echo "leftside3 ";}?>downside3">
<div class="title4"><span><a href="/ziliao-list/<?=$row['id']?>/1.html">更多>></a></span><strong><?=$row[z_name]?></strong></div>
<div class="div_5">
<ul>
<?php
$c_rs=mysql_query("select id,z_hit,z_title from ziliao where z_smid='".$row['id']."' order by id desc limit 10"); 
while($c_row=mysql_fetch_array($c_rs)){?>
<li><span>[<?=$c_row[z_hit]?>次]</span>[<font color="#0000FF"><?=mb_substr($row[z_name],0,4,'utf-8')?></font>]<a href="/ziliao-info/<?=$c_row[id]?>.html" target="_blank"><?=mb_substr($c_row[z_title],0,17,'utf-8')?></a></li>
<?php }?>
</ul>
</div>
<div class="onl"></div>
</div>

<?php if($i==2 or $i==6 or $i==10){ //按条件显示?>
<div style="clear: both;margin-top: 10px;margin-bottom: 10px;" class="side ad" align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-2924453545159453";
/* 468x60, 创建于 11-9-5 */
google_ad_slot = "9504712875";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<?php }?>

<?php if($i%2==0){?>
<div class="onl"></div>
<?php }
$i++;
}?>
<div class="onl"></div>
<div class="onl"></div>
</div>
</div>

<div class="onl"></div>
</div>
<div id="mian" style="clear: both;margin-top: 20px;margin-bottom: 20px;" class="side" align="center">
<script type="text/javascript">/*960*90，创建于2011-3-9*/ var cpro_id = 'u403357';</script><script src="http://cpro.baidu.com/cpro/ui/c.js" type="text/javascript"></script>
</div>
<?php
include("inc/foot.php");
?>
</BODY>
</HTML>

<script type="text/javascript">/*120*270，创建于2011-3-23*/ var cpro_id = 'u419785';</script><script src="http://cpro.baidu.com/cpro/ui/f.js" type="text/javascript"></script>
